
#include "Runnable.h"

Runnable::Runnable() {
}

Runnable::~Runnable() {
}

void Runnable::enter()
{
	mutex.lock();
}

void Runnable::leave()
{
	mutex.unlock();
}

void run(void * runnable)
{
	
	if(runnable != NULL)
		reinterpret_cast<Runnable*>(runnable)->run();
}

/*********************************************************************
	File Path	: DefaultComponent\DefaultConfig\Runnable.cpp
*********************************************************************/
